# !/usr/bin/env python
# -*- encoding: utf-8 -*-


import pandas as pd

# 读取情感词汇
# emotion_words_df = pd.read_csv('dataset/emotion_words.csv')

data = None


# 读取评论数据集
def read_comment() -> None:
    global data
    comment_1_df = pd.read_csv('dataset/comments1.csv').iloc[1:, [0, 3]]
    comment_2_df = pd.read_csv('dataset/comments2.csv').iloc[1:, [0, 3]]
    comment_3_df = pd.read_csv('dataset/comments3.csv').iloc[1:, [0, 3]]
    comment_4_df = pd.read_csv('dataset/comments4.csv').iloc[1:, [0, 3]]
    comment_5_df = pd.read_csv('dataset/comments5.csv').iloc[1:, [0, 3]]
    comment_df = pd.concat((comment_1_df, comment_2_df, comment_3_df, comment_4_df, comment_5_df))
    data = comment_df.to_numpy()


read_comment()

if __name__ == '__main__':
    pass
    # print(temp.info())
    # print(comment_1_df.shape[0])
    # print(comment_2_df.shape[0])
    # print(comment_3_df.shape[0])
    # print(comment_4_df.shape[0])
    # print(comment_5_df.shape[0])
